package com.smartrobot.smartrobot.util;

import java.io.File;

public class PeopleRegisterMsg {

	String phone;
	String pwd;
	String hasHead;
	String head;
	String storeName;
	String sMasterAccount;
	
	
	public final String PHONE = "u_phone";
	public final String PWD = "u_pwd";
	public final String HASHEAD = "u_hasHead";
	public final String HEAD = "u_head";
	public final String STORENAME = "u_belong_store_name";
	public final String SMASTERACCOUNT = "u_belong_store_master_account";
	
	
	public PeopleRegisterMsg(){
		
		phone = "";
		 pwd = "";
		 hasHead = "0";
		 head = "";
		 storeName = "";
		 sMasterAccount = "";
		
	}

    public PeopleRegisterMsg(String phone,String pwd){

        this.phone = phone;
        this.pwd = pwd;

    }
	
	
	
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		if(  head != null && !head.equals("")){
			this.hasHead = "1";
			this.head = head;
		}
	}
	
	

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getHasHead() {
		return hasHead;
	}

	public void setHasHead(String hasHead) {
		this.hasHead = hasHead;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getsMasterAccount() {
		return sMasterAccount;
	}

	public void setsMasterAccount(String sMasterAccount) {
		this.sMasterAccount = sMasterAccount;
	}
	

	public String toString(){
		
		return  phone +" "+ pwd+" "+hasHead 
				+" "+head +" "+storeName+" "+sMasterAccount;
	}
	
	
	
}
